export default {
  //异步
  //context => {commit, dispatch, state, rootState, getters, rootGetters}
  incrementAction({commit}) {
    commit('increment')
  },
  decrementAction(context) {
    context.commit('decrement')
  },
  updateStateAction(context, payload) {
    context.commit('updateState', payload)
  }
}